/**
*  
* @Function 区域和部门同步DAO 
* @ProjectName credit-data-platform 
* @PackageName com.py.credit.dao    
* @FileName AreaDeptDao.java    
* @Date 2018年6月5日上午9:29:23
* @Author Min DongXv
* @Copyright (c) 2018, 金电联行 All Rights Reserved.   
*   
*/  
package com.py.credit.dao;

import java.util.LinkedHashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.py.credit.entity.AreaName;
import com.py.credit.entity.Dept;
import com.py.credit.entity.SysUser;
import com.py.framework.core.entity.SysAreaEntity;
import com.py.framework.core.entity.SysOfficeEntity;

/**
 * 
 * @Function 区域和部门同步DAO
 * @ClassName AreaDeptDao
 * @Date 2018年6月5日 上午9:29:23
 * @Author Min DongXv
 * 
 */
public interface AreaDeptDao {

	public void addArea(@Param(value = "list") List<SysAreaEntity> list);

	public void addDept(@Param(value = "list") List<SysOfficeEntity> list);

	public void delArea();

	public void delDept();

	public Integer getAreaCount();

	public Integer getDeptCount();
	
	public AreaName getAreaName(int deptId);
	
	public List<Dept> getDeptName(@Param("regionCode") int regionCode);

	public void delUser();

	public void addUser(@Param(value = "list")List<SysUser> data);

	public Integer getUserCount();
}
